<cfcomponent output="false" alias="slr.components.cfgenerated.Instituicao_Detail.EquipamentoBean">
	<!---
		 These are properties that are exposed by this CFC object.
		 These property definitions are used when calling this CFC as a web services, 
		 passed back to a flash movie, or when generating documentation

		 NOTE: these cfproperty tags do not set any default property values.
	--->
	<cfproperty name="equipamentoId" type="numeric" default="0">
	<cfproperty name="institucaoId" type="numeric" default="0">
	<cfproperty name="equipamentoTipoId" type="numeric" default="0">
	<cfproperty name="rotulo" type="string" default="">
	<cfproperty name="tipo" type="string" default="">
	<cfproperty name="fabricante" type="string" default="">
	<cfproperty name="modelo" type="string" default="">
	<cfproperty name="serieTubo" type="string" default="">
	<cfproperty name="tensaoMaxima" type="numeric" default="0">
	<cfproperty name="correnteMaxima" type="numeric" default="0">
	<cfproperty name="tamanhoFocal" type="string" default="">
	<cfproperty name="gerador" type="string" default="">
	<cfproperty name="dataCadastro" type="date" default="">
	<cfproperty name="tecnicoCadastro" type="string" default="">
	<cfproperty name="dataAlteracao" type="date" default="">
	<cfproperty name="tecnicoAlteracao" type="string" default="">

	<cfscript>
		//Initialize the CFC with the default properties values.
		variables.equipamentoId = 0;
		variables.institucaoId = 0;
		variables.equipamentoTipoId = 0;
		variables.rotulo = "";
		variables.tipo = "";
		variables.fabricante = "";
		variables.modelo = "";
		variables.serieTubo = "";
		variables.tensaoMaxima = 0;
		variables.correnteMaxima = 0;
		variables.tamanhoFocal = "";
		variables.gerador = "";
		variables.dataCadastro = "";
		variables.tecnicoCadastro = "";
		variables.dataAlteracao = "";
		variables.tecnicoAlteracao = "";
	</cfscript>

	<cffunction name="init" output="false" returntype="EquipamentoBean">
		<cfreturn this>
	</cffunction>
	<cffunction name="getEquipamentoId" output="false" access="public" returntype="any">
		<cfreturn variables.EquipamentoId>
	</cffunction>

	<cffunction name="setEquipamentoId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.EquipamentoId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getInstitucaoId" output="false" access="public" returntype="any">
		<cfreturn variables.InstitucaoId>
	</cffunction>

	<cffunction name="setInstitucaoId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.InstitucaoId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getEquipamentoTipoId" output="false" access="public" returntype="any">
		<cfreturn variables.EquipamentoTipoId>
	</cffunction>

	<cffunction name="setEquipamentoTipoId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.EquipamentoTipoId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getRotulo" output="false" access="public" returntype="any">
		<cfreturn variables.Rotulo>
	</cffunction>

	<cffunction name="setRotulo" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.Rotulo = arguments.val>
	</cffunction>

	<cffunction name="getTipo" output="false" access="public" returntype="any">
		<cfreturn variables.Tipo>
	</cffunction>

	<cffunction name="setTipo" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.Tipo = arguments.val>
	</cffunction>

	<cffunction name="getFabricante" output="false" access="public" returntype="any">
		<cfreturn variables.Fabricante>
	</cffunction>

	<cffunction name="setFabricante" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.Fabricante = arguments.val>
	</cffunction>

	<cffunction name="getModelo" output="false" access="public" returntype="any">
		<cfreturn variables.Modelo>
	</cffunction>

	<cffunction name="setModelo" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.Modelo = arguments.val>
	</cffunction>

	<cffunction name="getSerieTubo" output="false" access="public" returntype="any">
		<cfreturn variables.SerieTubo>
	</cffunction>

	<cffunction name="setSerieTubo" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.SerieTubo = arguments.val>
	</cffunction>

	<cffunction name="getTensaoMaxima" output="false" access="public" returntype="any">
		<cfreturn variables.TensaoMaxima>
	</cffunction>

	<cffunction name="setTensaoMaxima" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.TensaoMaxima = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getCorrenteMaxima" output="false" access="public" returntype="any">
		<cfreturn variables.CorrenteMaxima>
	</cffunction>

	<cffunction name="setCorrenteMaxima" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.CorrenteMaxima = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getTamanhoFocal" output="false" access="public" returntype="any">
		<cfreturn variables.TamanhoFocal>
	</cffunction>

	<cffunction name="setTamanhoFocal" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.TamanhoFocal = arguments.val>
	</cffunction>

	<cffunction name="getGerador" output="false" access="public" returntype="any">
		<cfreturn variables.Gerador>
	</cffunction>

	<cffunction name="setGerador" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.Gerador = arguments.val>
	</cffunction>

	<cffunction name="getDataCadastro" output="false" access="public" returntype="any">
		<cfreturn variables.DataCadastro>
	</cffunction>

	<cffunction name="setDataCadastro" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsDate(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.DataCadastro = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid date"/>
		</cfif>
	</cffunction>

	<cffunction name="getTecnicoCadastro" output="false" access="public" returntype="any">
		<cfreturn variables.TecnicoCadastro>
	</cffunction>

	<cffunction name="setTecnicoCadastro" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.TecnicoCadastro = arguments.val>
	</cffunction>

	<cffunction name="getDataAlteracao" output="false" access="public" returntype="any">
		<cfreturn variables.DataAlteracao>
	</cffunction>

	<cffunction name="setDataAlteracao" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsDate(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.DataAlteracao = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid date"/>
		</cfif>
	</cffunction>

	<cffunction name="getTecnicoAlteracao" output="false" access="public" returntype="any">
		<cfreturn variables.TecnicoAlteracao>
	</cffunction>

	<cffunction name="setTecnicoAlteracao" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.TecnicoAlteracao = arguments.val>
	</cffunction>



</cfcomponent>